package com.example.hotelmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hotelmanager.entity.CheckIn;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

/**
 * @author :chenjie
 * @date :Created 2022/11/27 22:44
 */
@Service
public interface CheckInService extends IService<CheckIn> {
    List<CheckIn> getValidCheckIns(Timestamp fromTime, Timestamp toTime);

    List<CheckIn> getValidCheckIns1(Timestamp fromTimeT, Timestamp toTimeT);
    Map<String,Object> bookCheckIn(int bookMsgId);
}
